
import logging
import unittest

from config import BASE_DIR
from utils.logging_utils import init_log_config

from script.ihrm_add_emp_test import TestIHRMAddEmp
from script.ihrm_login_test import TestIHRMLogin
from htmltestreport import HTMLTestReport
#  控制一个开关, 就可以让print的代码进行筛选


s = unittest.makeSuite(TestIHRMLogin)
# s = unittest.makeSuite(TestIHRMAddEmp)

runner = unittest.TextTestRunner()
# runner = HTMLTestReport(BASE_DIR + '/reporter/reporter.html', title='测试报告', description='测试报告的描述')
runner.run(s)

